package com.shujia.wyh.day13.homework.pizzademo;

public class SeaPizza extends Pizza {
    private String mixed;

    public SeaPizza() {
    }

    public SeaPizza(String name, int size, int price, String mixed) {
        super(name, size, price);
        this.mixed = mixed;
    }

    public String getMixed() {
        return mixed;
    }

    public void setMixed(String mixed) {
        this.mixed = mixed;
    }

    @Override
    public void show() {
        super.show();
        System.out.println("配料：" + mixed);
    }
}